package com.UnionPayCenter.mapper;

import com.UnionPayCenter.operation.entity.ActivityType;

import java.util.List;

/**
 * 活动类型
 */
public interface ActivityTypeMapper {

    int deleteByPrimaryKey(Integer activityTypeId);

    int insert(ActivityType record);

    ActivityType selectByPrimaryKey(Integer activityTypeId);

    /**
     * 根据条件查询活动类型
     *
     * @return 活动类型
     */
    List<ActivityType> selectByCondition(ActivityType activityType);

    int updateByPrimaryKeySelective(ActivityType record);
}